Hizzle\Noptin\Emails\Email D

Total Complexity 234
Dependencies 5
Dependents 15
Total lines 1,653
Lines of code 903
Logical lines of code 461
Comment lines 445
Methods 60
Properties 13

Methods 60

Method Rating Maintainability Complexity Lines of code
init()
D
29
30 125
send()
B
33 22 90
handle_send_to()
B
36 18 77
check_can_send()
A
46 11 39
save()
A
43 10 50
parse_attachment_file_path()
A
45 9 38
__construct()
A
56 8 18
get()
S
57 6 15
get_attachments()
S
58 6 15
duplicate()
S
56 5 18
init_args()
S
57 5 16
get_contexts()
S
60 5 14
supports()
S
62 5 11
get_js_data()
S
47 3 38
get_sends_after_unit()
S
65 5 8
get_base_url()
S
62 4 11
send_to()
S
55 3 22
get_edit_url()
S
58 3 17
get_children()
S
58 3 17
get_email_type()
S
64 4 9
get_merge_tags()
S
56 2 21
prepare_preview()
S
58 2 15
sends_immediately()
S
70 3 6
get_preview_url()
S
68 3 7
get_template()
S
64 3 10
get_content()
S
66 3 9
get_sender()
S
68 3 6
can_send()
S
69 3 7
get_view_in_browser_url()
S
61 2 13
get_recipients()
S
75 2 4
current_user_can_delete()
S
71 2 6
delete()
S
66 2 8
is_mass_mail()
S
78 2 3
from()
S
72 2 6
get_placeholder_recipient()
S
62 2 10
current_user_can_edit()
S
71 2 6
get_sub_type()
S
67 2 7
trash()
S
67 2 8
restore()
S
67 2 8
can_send_to()
S
67 2 7
is_automation_rule()
S
77 2 3
get_trigger()
S
78 2 3
get_manual_recipients_ids()
S
74 2 4
to_array()
S
62 1 14
get_click_count()
S
74 1 4
get_send_count()
S
73 1 4
get_open_count()
S
74 1 4
exists()
S
80 1 3
get_activity_url()
S
65 1 10
get_last_send()
S
78 1 3
get_delete_url()
S
80 1 3
get_action_url()
S
68 1 7
__get()
S
80 1 3
get_duplication_url()
S
80 1 3
get_sub_types()
S
80 1 3
is_published()
S
74 1 4
get_sends_after()
S
80 1 3
supports_timing()
S
78 1 3
get_subject()
S
82 1 3
get_unsubscribe_count()
S
74 1 4